package cn.brilliantfuture.commentry.operate;

import javax.jws.WebService;

/**
 * 
 * Title: Communication Entry
 * 
 * Author:  LiTian  
 *
 * Date: 2011-11-15
 * 
 * Description: 配送柜控制管理WEB SERVICE接口
 * 
 */
@WebService
public interface ControlMessageWebService {
	
	/**
	 * 特权卡
	 */
	public static final String SUPER_ID = "SUPERID";
	
	/**
	 * 舱门关闭
	 */
	public static final String SETGRIDID_CLOSE = "SETGRIDID_CLOSE";

	/**
	 * 舱门打开
	 */
	public static final String SETGRIDID_OPEN = "SETGRIDID_OPEN";
	
	/**
	 * 全部重置
	 */
	public static final String RESET_ALL = "RESETALL";
	
	/**
	 * All LED
	 */
	public static final String SETAD_MSG = "SETAD";
	
	/**
	 * 左LED
	 */
	public static final String LEFT_LED_MSG = "LEDMSGL";
	
	/**
	 * 右LED
	 */
	public static final String RIGHT_LED_MSG = "LEDMSGR";
	
	/**
	 * 设置广告信息
	 * 
	 * @param deviceSn 终端编号
	 * @param screenSn 屏幕编号
	 * @param inStyle 进入方式
	 * @param inSpeed 进入速度
	 * @param outStyle 退出方式
	 * @param outSpeed 退出速度
	 * @param stayTime 停留时间
	 * @param content 广告内容
	 * @return String
	 */
	public String setAdvertContent(String deviceSn, Integer screenSn,
			Integer inStyle, Integer inSpeed, Integer outStyle,
			Integer outSpeed, Integer stayTime, String content);
	
	/**
	 * 远程开柜
	 * 
	 * @param deviceSn 终端编号
	 * @param gridSn 配送仓编号
	 * @return String
	 */
	public String remoteUnlock(String deviceSn, String gridSn);
	
	/**
	 * 远程重置
	 * 
	 * @param deviceSn 终端编号
	 * @param setKey 键值
	 * @param value 数据
	 * @return String
	 */
	public String remoteControl(String deviceSn, String setKey, String value);

}
